package org.jeecg.modules.order.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 工单处理
 * @Author: jeecg-boot
 * @Date:   2022-09-26
 * @Version: V1.0
 */
@ApiModel(value="mt_repair_dispose对象", description="工单处理")
@Data
@Accessors(chain = true)
@TableName("mt_repair_dispose")
public class MtRepairDispose implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**工程师*/
	@Excel(name = "工程师", width = 15, dictTable = "mt_engineer", dicText = "engineer_name", dicCode = "id")
    @Dict(dictTable = "mt_engineer", dicText = "engineer_name", dicCode = "id")
    @ApiModelProperty(value = "工程师")
    private String engineerId;
	/**汇报时间*/
	@Excel(name = "汇报时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "汇报时间")
    private Date disposeTime;
	/**工单*/
    @ApiModelProperty(value = "工单")
    private String orderId;
	/**描述*/
	@Excel(name = "描述", width = 15)
    @ApiModelProperty(value = "描述")
    private String disposeRemarks;
	/**照片*/
	@Excel(name = "照片", width = 15)
    @ApiModelProperty(value = "照片")
    private String disposePhoto;
	/**服务商*/
	@Excel(name = "服务商", width = 15, dictTable = "mt_service_providers", dicText = "pro_name", dicCode = "id")
    @Dict(dictTable = "mt_service_providers", dicText = "pro_name", dicCode = "id")
    @ApiModelProperty(value = "服务商")
    private String providerId;
	/**服务站*/
	@Excel(name = "服务站", width = 15, dictTable = "mt_service_station", dicText = "station_name", dicCode = "id")
    @Dict(dictTable = "mt_service_station", dicText = "station_name", dicCode = "id")
    @ApiModelProperty(value = "服务站")
    private String stationId;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "dispose_status")
    @Dict(dicCode = "dispose_status")
    @ApiModelProperty(value = "状态")
    private String disposeStatus;
}
